package com.codejoys.ssm.service;

import com.codejoys.ssm.domain.School;
import com.codejoys.ssm.dto.PageData;

import java.util.List;

public interface SchoolService{

    Integer insert(School school);
    void deleteById(Integer[] ids);
    void deleteById(Integer id);
    PageData<School> findPage(Integer page, Integer limit);

    School findById(Integer id);


    List<School> findByCondition(School school);
}